<div id="main1">
  <div class="tittle_cp"><span>公司新闻</span><tt>Company News</tt></div>
  <div class="conent_cp">
    <div class="sous"><a href="#">公司新闻</a><a href="#">行业新闻</a></div>

    <?php foreach($data as $v){?>
    <!-- <div class="xinwen"><h1><a href="./html/<?php echo $v['id']?>.html"><?php echo $v['title']?></a></h1> -->
    <div class="xinwen"><h1><a href="index.php?c=news&a=detail&id=<?php echo $v['id']?>"><?php echo $v['title']?></a></h1>
    <p><a><?php echo mb_substr($v['content'],0,250,'utf-8')?></a> </p>
    <p><span>时间：<?php echo $v['creat_time']?></span>   </p>
    </div>
    <?php }?>

    <div style="height:30px;"></div>
    <div class="fenye"><span>第1/5页</span><a href="">首页</a><a href="">上一页</a><a href="">下一页</a><a href="">最后一页</a><span>共50条记录</span></div>
  </div>
<div style="clear:both; height:20px;"></div>

</div>
</div>
<div class="clearfix"></div>
